﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using DataAccessLayer.Models.POJO;

namespace Work04_01.Models.POJO
{
    public class AssetLevel2
    {
         public string assetLevel1Id { get; set; }

         public string assetLevel2Id { get; set; }

         public string assetName { get; set; }
         public string ownerDeptId { get; set; }

         public string ownerId { get; set; }

         public string unit { get; set; }

         public int number { get; set; }

        public AssetLevel2()
        {
        }

        public AssetLevel2(string assetLevel1Id, string assetLevel2Id, string assetName, string ownerDeptId, string ownerId, string unit, int number)
        {
            this.assetLevel1Id = assetLevel1Id;
            this.assetLevel2Id = assetLevel2Id;
            this.assetName = assetName;
            this.ownerDeptId = ownerDeptId;
            this.ownerId = ownerId;
            this.unit = unit;
            this.number = number;
        }

        public AssetLevel2(assetLevel2Peta a)
        {
            this.assetLevel1Id = a.assetLevel1Id;
            this.assetLevel2Id = a.assetLevel2Id;
            this.assetName = a.assetName;
            this.ownerDeptId = a.ownerDeptId;
            this.ownerId = a.ownerId;
            this.unit = a.unit;
            this.number = a.number;
        }
    }
}